package com.bdqn.BookManage.po;
import java.util.*;

/**
 * @author : CP
 * @version: 1.0
 * @program : BookManage
 * @description : 订单信息实体类
 * @date : 2020-07-31 11:59
 **/
public class Order{
	private Integer orderId;
	private String orderNo;
	private Integer orderStatus;
	private Double totalMoney;
	private Integer isPay;
	private String userAddress;
	private Integer orderScore;
	private String orderRemarks;
	private Date createTime;
	private Integer isClosed;
	private Integer orderFlag;
	private String tradeNo;
	private Integer payFrom;
	private Integer settlementId;
	private Double realTotalMoney;
	private Date receiveTime;
	private Date deliveryTime;

	public void setOrderId(Integer orderId){
		this.orderId = orderId;
	}

	public Integer getOrderId(){
	return orderId;
	}

	public void setOrderNo(String orderNo){
		this.orderNo = orderNo;
	}

	public String getOrderNo(){
	return orderNo;
	}

	public void setOrderStatus(Integer orderStatus){
		this.orderStatus = orderStatus;
	}

	public Integer getOrderStatus(){
	return orderStatus;
	}

	public void setTotalMoney(Double totalMoney){
		this.totalMoney = totalMoney;
	}

	public Double getTotalMoney(){
	return totalMoney;
	}

	public void setIsPay(Integer isPay){
		this.isPay = isPay;
	}

	public Integer getIsPay(){
	return isPay;
	}

	public void setUserAddress(String userAddress){
		this.userAddress = userAddress;
	}

	public String getUserAddress(){
	return userAddress;
	}

	public void setOrderScore(Integer orderScore){
		this.orderScore = orderScore;
	}

	public Integer getOrderScore(){
	return orderScore;
	}

	public void setOrderRemarks(String orderRemarks){
		this.orderRemarks = orderRemarks;
	}

	public String getOrderRemarks(){
	return orderRemarks;
	}

	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	public Date getCreateTime(){
	return createTime;
	}

	public void setIsClosed(Integer isClosed){
		this.isClosed = isClosed;
	}

	public Integer getIsClosed(){
	return isClosed;
	}

	public void setOrderFlag(Integer orderFlag){
		this.orderFlag = orderFlag;
	}

	public Integer getOrderFlag(){
	return orderFlag;
	}

	public void setTradeNo(String tradeNo){
		this.tradeNo = tradeNo;
	}

	public String getTradeNo(){
	return tradeNo;
	}

	public void setPayFrom(Integer payFrom){
		this.payFrom = payFrom;
	}

	public Integer getPayFrom(){
	return payFrom;
	}

	public void setSettlementId(Integer settlementId){
		this.settlementId = settlementId;
	}

	public Integer getSettlementId(){
	return settlementId;
	}

	public void setRealTotalMoney(Double realTotalMoney){
		this.realTotalMoney = realTotalMoney;
	}

	public Double getRealTotalMoney(){
	return realTotalMoney;
	}

	public void setReceiveTime(Date receiveTime){
		this.receiveTime = receiveTime;
	}

	public Date getReceiveTime(){
	return receiveTime;
	}

	public void setDeliveryTime(Date deliveryTime){
		this.deliveryTime = deliveryTime;
	}

	public Date getDeliveryTime(){
	return deliveryTime;
	}

	public Order(){}
	public Order(Integer orderId,String orderNo,Integer orderStatus,Double totalMoney,Integer isPay,String userAddress,
				 Integer orderScore,String orderRemarks,Date createTime,Integer isClosed,Integer orderFlag,
				 String tradeNo,Integer payFrom,Integer settlementId,Double realTotalMoney,Date receiveTime,
				 Date deliveryTime){
		this.orderId = orderId;
		this.orderNo = orderNo;
		this.orderStatus = orderStatus;
		this.totalMoney = totalMoney;
		this.isPay = isPay;
		this.userAddress = userAddress;
		this.orderScore = orderScore;
		this.orderRemarks = orderRemarks;
		this.createTime = createTime;
		this.isClosed = isClosed;
		this.orderFlag = orderFlag;
		this.tradeNo = tradeNo;
		this.payFrom = payFrom;
		this.settlementId = settlementId;
		this.realTotalMoney = realTotalMoney;
		this.receiveTime = receiveTime;
		this.deliveryTime = deliveryTime;
	}

	@Override
	public String toString() {
	return orderId+"\t"+orderNo+"\t"+orderStatus+"\t"+totalMoney+"\t"+isPay+"\t"+userAddress+"\t"+orderScore+"\t"+
			orderRemarks+"\t"+createTime+"\t"+isClosed+"\t"+orderFlag+"\t"+tradeNo+"\t"+payFrom+"\t"+settlementId+"\t"+
			realTotalMoney+"\t"+receiveTime+"\t"+deliveryTime;
}
	}
